package com.sshtools.cmd.action.impl;

import com.sshtools.cmd.action.ServerCmdTask;
import com.sshtools.view.model.ServerModel;

/**
 * 服务器关闭任务
 *
 */
public class StopTask extends ServerCmdTask {

	public StopTask(ServerModel server) {
		super(server);
	}

	@Override
	protected String[] getCommand() {
		return new String[] { server.getStopCommand() };
	}

}